package com.jujia.tmall.base;

/**
 * Created by AMing on 16/5/26.
 * Company RongCloud
 */
public class SealConst {

    public static final String APP_NAME = "居家智能";
    public static final String BASE_XML = "base";
    public static final String SEALTALK_LOGING_ACCOUNT = "login_account";
    public static final String SEALTALK_LOGING_PASSWORD = "login_password";

    public static final String SEALTALK_USERID = "user_id";


    public static String hasSendHome(String dhsm) {

        String ret = "";

        switch (dhsm) {
            case "0":
                ret = "否";
                break;
            case "1":
                ret = "是";
                break;
        }

        return ret;
    }

    public static String hasLogo(String logo) {

        String ret = "其他";

        switch (logo) {
            case "1":
                ret = "天猫订单";
                break;
        }

        return ret;
    }

    public static String hasOrderStatus(String sign) {

        String ret = "";

        switch (sign) {//，sign为4和5的时候在页面上显示改为"待签到核销"
            case "1":
                ret = "订单生成";
                break;
            case "2":
                ret = "首次预约";
                break;
            case "3":
                ret = "首次派单";
                break;
            case "4":
                ret = "待签到核销";
                break;
            case "5":
                ret = "待签到核销";
                break;
            case "6":
                ret = "首次完成";
                break;
            case "7":
                ret = "请求重派单";
                break;
            case "8":
                ret = "重新派单";
                break;
            case "9":
                ret = "二次师傅接单";
                break;
            case "10":
                ret = "二次师傅到达";
                break;
            case "11":
                ret = "二次安装完成";
                break;
            case "12":
                ret = "请求改约";
                break;
            case "13":
                ret = "改约预约";
                break;
            case "14":
                ret = "改约到达";
                break;
            case "15":
                ret = "改约完成";
                break;
            case "16":
                ret = "请求特殊处理";
                break;
            case "17":
                ret = "特殊订单";
                break;
            case "18":
                ret = "特殊订单完成";
                break;
            case "19":
                ret = "请求空跑单";
                break;
            case "20":
                ret = "空跑单";
                break;
        }

        return ret;
    }

}
